import request from "@/utils/request";

/**
 * 获取所有的分类
 * @returns Promise
 */
export const findAllCategory = () => {
  return request({
    method: "get",
    url: "/home/category/head",
  });
};
